package com.yonyou.common.service.messagecenter.rabbitmq.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "TT_MESSAGE_HISTORY_CONSUMER")
public class TtMessageHistoryConsumer {
	public String getConsumer() {
		return consumer;
	}

	public void setConsumer(String consumer) {
		this.consumer = consumer;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

/*	public int getTryCount() {
		return tryCount;
	}

	public void setTryCount(int tryCount) {
		this.tryCount = tryCount;
	}*/

	public String getMessageid() {
		return messageid;
	}

	public void setMessageid(String messageid) {
		this.messageid = messageid;
	}

	public String getAppReturnMessage() {
		return appReturnMessage;
	}

	public void setAppReturnMessage(String appReturnMessage) {
		this.appReturnMessage = appReturnMessage;
	}

	@Id
	@Column(name = "id")
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "sign")
    private String sign;
    
    @Column(name = "STATUS")
    private String status;
    
    @Column(name = "CREATE_DATE")
    private Date createDate;
    
    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "consumer")
    private String consumer;

/*    @Column(name = "tryCount")
    private int tryCount;*/

    @Column(name = "appid")
    private String appid;
    
    @Column(name = "messageid")
	private String messageid;
    
    @Column(name = "app_return_message")
	private String appReturnMessage;
}
